$(document).ready(function(){
	// alert(1);
	$('.store button').click(function(){

		$(this).css({"background":"url(img/store1_bg.png)","color":"#fff"});
	});

  $('input:radio').click(function(){
       if($('#have').is(":checked")){
          $('span #genetic_name').removeAttr('disabled','disabled');
          $('span #genetic_name').css('background','url(/medical-cloud/assets/dean/img/genetic_input.png)')
      }else{
          $('span #genetic_name').attr('disabled','disabled');
          $('span #genetic_name').css('background','url(/medical-cloud/assets/dean/img/genetic_input1.png)')
      }

  });
}); 
$(document).ready(function(){
	
	if( !('placeholder' in document.createElement('input')) ){   

    $('input[placeholder],textarea[placeholder]').each(function(){    
      var that = $(this);   
      text= that.attr('placeholder');    
      if(that.val()===""){    
        that.val(text).addClass('placeholder');    
      }    
      that.focus(function(){    
        if(that.val()===text){    
          that.val("").removeClass('placeholder');    
        }    
      })    
      .blur(function(){    
        if(that.val()===""){    
          that.val(text).addClass('placeholder');    
        }    
      })    
      .closest('form').submit(function(){    
        if(that.val() === text){    
          that.val('');    
        }    
      });    
    });    
  } 
})